﻿package  
{
	import flash.events.Event;
	public class NavigationEvent extends Event 
	{
		public static const RESTART:String = "restart";
		public static const START:String = "start";
		public static const QUIT:String = "quit";
		public static const REQUEST_QUIT:String = "requestQuit";
		public static const PAUSE:String = "pause";
		
		public static const ANI_END = "aniEnd";
		public static const BONUS_ANI_END = "bonusAniEnd";
		
		public static const SHOW_HELP = "showHelp";
		public static const SHOW_RECORD = "showRecord";
		public static const SHOW_GETCLICKR = "showGetClickr";
		public static const CLOSE = "close";
		
		public static const SHOW_RESULT = "showResult";
		public static const SHOW_RESULT_HIGH = "showResultHigh";
		
		public static const REPLAY:String = "replay";
		
		public static const SHOW_PAUSE = "showPause";
		public static const SHOW_LEADERBOARD = "showLeaderboard";
		
		public static const LOAD_COMPLETE = "loadComplete";
		public var gotoMenu:String;
		public var caller:*;
 
		public function NavigationEvent( type:String , _gotoMenu:String, _caller:* = null)
		{
			super( type );
			
			this.gotoMenu = _gotoMenu;
			this.caller = _caller;
		}
	}
}